/*
 * @Author: your name
 * @Date: 2021-10-18 11:09:43
 * @LastEditTime: 2021-12-09 15:58:19
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \jingfeng-web\src\store\getters.js
 */
const getters = {
    // 确定弹出框是否弹出
    showState: state => state.situation.showState,
    accountId: state => state.situation.accountId,
    // 点击的是否是左边菜单栏或者左上角退出按钮
    showItem: state => state.situation.showItem,
    feedbackFilter: state => state.situation.feedbackFilter,
    taskFllter: state => state.situation.taskFllter,
    sponsorFllter: state => state.situation.sponsorFllter,
    feenbackpaneFllter: state => state.situation.feenbackpaneFllter,
    taskpaneFllter: state => state.situation.taskpaneFllter,
    // 跳转路径
    toPath: state => state.situation.toPath,
    sidebar: state => state.app.sidebar,
    size: state => state.app.size,
    device: state => state.app.device,
    visitedViews: state => state.tagsView.visitedViews,
    cachedViews: state => state.tagsView.cachedViews,
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    name: state => state.user.name,
    introduction: state => state.user.introduction,
    roles: state => state.user.roles,
    permission_routes: state => state.permission.routes,
    errorLogs: state => state.errorLog.logs
}
export default getters
